export const request=(params)=>{
  const http='http://192.168.43.75/'
  return new Promise((resolve,reject)=>{
    wx.request({
      ...params,
      url:http+params.url,
      success:(res)=>{
        resolve(res);
      },
      fail:(err)=>{
        reject(err);
      }
    })
  })
}